<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

  <head>
    <title>index</title>
    <script src="/js/jquery-3.1.1.min.js" type="text/javascript"></script>
    <script src="/js/index.js" type="text/javascript"></script>
    <link rel="stylesheet" href="/css/index.css">
  </head>

  <body>

    <div id="all">

      <h1>登陆成功，欢迎来到主页 ...</h1>

      <h1>${info}</h1>

      <<img src="/img/ali.png" alt="测试图片路径">

      <c:if test="${not empty girlsList}">
        <h1>They are your Girls :</h1>
        <table border="1" cellspacing="0">
          <tr>
            <th>编号</th>
            <th>名字</th>
            <th>年龄</th>
            <th>爱好</th>
          </tr>

          <c:forEach var="bill" items="${girlsList }">
            <tr>
              <td>${bill.id }</td>
              <td>${bill.name }</td>
              <td>${bill.age }</td>
              <td>${bill.hobby }</td>
            </tr>
          </c:forEach>
        </table>
      </c:if>

      <p><a href="/logout"><input class="sub" type="button" value="退出登陆"></a></p>

    </div>

  </body>
</html>
